package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuyulong
 * @since 2018-08-01
 */
@TableName("car_site")
public class CarSite extends Model<CarSite> {

    private static final long serialVersionUID = 1L;

    /**
     * 站点id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 站点编号
     */
    private Integer sitenumber;
    /**
     * 站点名称
     */
    private String sitename;
    /**
     * 站点经度
     */
    private String longitude;
    /**
     * 站点纬度
     */
    private String latitude;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSitenumber() {
        return sitenumber;
    }

    public void setSitenumber(Integer sitenumber) {
        this.sitenumber = sitenumber;
    }

    public String getSitename() {
        return sitename;
    }

    public void setSitename(String sitename) {
        this.sitename = sitename;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CarSite{" +
        "id=" + id +
        ", sitenumber=" + sitenumber +
        ", sitename=" + sitename +
        ", longitude=" + longitude +
        ", latitude=" + latitude +
        "}";
    }
}
